package org.zhu.common.bean.dto;

/**
 * Created by zhu yingzhi on 2017/10/16.
 * 管理员数据传输类DTO
 * @author yingzhi zhu
 */
public class AdminDto {
    /**
     * 不传
     */
    private Long id;
    /**
     * 用户账号 必传
     */
    private String username;
    /**
     * 用户密码 必传
     */
    private String password;
    /**
     * 必传 用户权限 可多个权限 用，隔开。所有管理员SUPER,USER,ORDER,GOODS,FREIGHT,MESSAGE,CATEGORY，BANNER
     */
    private String role;
    /**
     * 不传
     */
    private String add_time;
    /**
     * 选传 默认为可用
     */
    private boolean is_enable;
    /**
     * 用户昵称 选传
     */
    private String nick_name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public boolean isIs_enable() {
        return is_enable;
    }

    public void setIs_enable(boolean is_enable) {
        this.is_enable = is_enable;
    }

    public String getNick_name() {
        return nick_name;
    }

    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }
}
